import React  from 'react';
import indexCss from "./index.module.scss";
import {baseURL  } from "../../utils/request";
const Index = (props) => { 
  const v=props.item;
  return <div className={indexCss.house_item}   >
    <div className={indexCss.house_img}> <img src={baseURL + v.houseImg} alt="" /> </div>
    <div className={indexCss.house_info}>
      <div className={indexCss.house_list_title}>{v.title}</div>
      <div className={indexCss.house_desc}>{v.desc}</div>
      <div className={indexCss.house_tags}>{v.tags.map(vv => <span key={vv} >{vv}</span>)}</div>
      <div className={indexCss.house_price_row}> <span>{v.price} 元/月 </span>  </div>
    </div>
  </div>
};
export default Index;